package learn.spring.blog.backend;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.bind.annotation.CrossOrigin;

@SpringBootApplication
//@EnableDiscoveryClient
@MapperScan("learn.spring.blog.backend.mapper")
@CrossOrigin
public class LearnBlogBackendApplication {

  public static void main(String[] args) {
    SpringApplication.run(LearnBlogBackendApplication.class, args);
  }
}
